﻿// TC Core Library
// Copyright © 2008-2010 Tommy Carlier
// http://tc.codeplex.com
// License: Microsoft Public License (Ms-PL): http://tc.codeplex.com/license

using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Text;

namespace TC
{
	/// <summary>Represents the empty unit type.</summary>
	public sealed class Unit
	{
		private Unit()
		{
		}

		/// <summary>Gets the single <see cref="T:Unit"/> instance.</summary>
		[SuppressMessage(
			"Microsoft.Security", 
			"CA2104:DoNotDeclareReadOnlyMutableReferenceTypes",
			Justification = "The Unit-type has no state, ipso facto it is immutable.")]
		public static readonly Unit Instance = new Unit();
	}
}
